home *** CD-ROM | disk | FTP | other *** search
/ FishMarket 1.0 / FishMarket v1.0.iso / fishies / 526-550 / disk_542 / chemnimate / cmtsource.lzh / tokenlist3.c < prev    next >
Text File  |  1991-08-27  |  2KB  |  91 lines

  1. /****************************************************************
  2.  *                                *
  3.  *    Token-list for the 2nd version of the parser.        *
  4.  *                                *
  5.  *                                *
  6.  *please do not change this file (Except when your name is    *
  7.  *                  Klaas van Gend)        *
  8.  *                                *
  9.  *==============================================================*
  10.  *ver    date    Author    comment                    *
  11.  *1    4May91    KvGend    created.                *
  12.  *    8May91    KvGend    OOPS. big bug removed: wasn't terminated*
  13.  *2    2Jun91    KvGend    added Assignation, LOOP.        *
  14.  *3    17Jul91    KvGend    added SKIP, ENDSKIP & DISPLAYMODE.    *
  15.  *    23Jul91    KvGend    added SHOWNS                *
  16.  *4    27Jul91    KvGend    It is no longer a header now.        *
  17.  ****************************************************************/
  18.  
  19. /*please, do not change this file*/
  20. char *tlist[] =
  21. {
  22. /*                    DATA-GROUP*/
  23. "\x10\x01""DATA\0",
  24. "\x11\x00""ENDDATA\0",
  25. "\x12\x10""ANIM\0", /*    ** current implementation not correct */
  26. /*                    REPEAT-group*/
  27. "\x20\x01""REPEAT\0",
  28. "\x21\x00""ENDREPEAT\0",
  29. "\x22\x00""LOOP\0",
  30. "\x23\x02""UNTIL\0",
  31. /*                    displaygroup*/
  32. "\x30\x01""LINES\0",
  33. "\x31\x01""BALLS\0",
  34. "\x32\x01""WAIT\0",
  35. /*"\x33\x00""FADE\0",    ** not implemented yet */
  36. "\x34\x01""DISPLAYMODE\0",
  37. /*                    debuggingstuff*/
  38. "\x41\x02""DEBUG\0",
  39. "\x45\x00""SKIP\0",
  40. "\x46\x00""ENDSKIP\0",
  41. /*                    SHOW-group*/
  42. "\x51\x02""SHOWNS\0",
  43. "\x50\x03""SHOW\0",
  44. "\x52\x00""SPAGES\0",
  45. /*                    ANGLE-group*/
  46. "\x61\x01""ANGLED\0",/*    ** don't use!!!*/
  47. "\x60\x01""ANGLE\0",/*    ** don't use!!!*/
  48. "\x62\x02""MIDDLE\0",
  49. /*                    TEXT-group*/
  50. "\x70\x10""THEADER\0",
  51. "\x71\x10""TFOOTER\0",
  52. "\x72\x12""TEXT\0",
  53. "\x73\x10""T\0",
  54. /*                    Change-group*/
  55. "\x80\x03""CR\0",
  56. "\x81\x03""CA\0",
  57. "\x82\x04""CM\0",
  58. /*                    Assignation-group */
  59. "\x90\x01""I:=\0",
  60. "\x91\x01""J:=\0",
  61. "\x92\x01""ANG:=\0",    /* oops, used to be called "Angle" and "AngleD"*/
  62. "\x93\x01""DAN:=\0",    /*  but this is more logical */
  63.  
  64. /************this must be the last, to terminate ******/
  65. "\x00\x00""ZZZZZZ\0"
  66. };
  67.  
  68. /* EXPLANATION:
  69.  *
  70.  * each entry consists of \x## , \x## , name , \0 .
  71.  *
  72.  * first \x##:    token-number.
  73.  *        01-0F : dataline
  74.  *        10-1F : DATA-group.
  75.  *        20-2F : REPEAT-group
  76.  *        30-3F : display-group
  77.  *        40-4f : debuggingstuff
  78.  *        50-5f : SHOW-group
  79.  *        60-6f : ANGLE-group
  80.  *        70-7f : TEXT-group
  81.  *        80-8f : Change-group
  82.  *        90-9f : Assignation-group
  83.  *        A0-ff are not used yet.
  84.  * second\x##:    uppernibble: number of strings required.
  85.  *        lowernibble: number of arguments required.
  86.  * name:    commandname. MUST BE IN UPPERCASE.
  87.  * \0:        just to end it up.
  88.  *
  89.  * KvGend 02-Jun-91
  90.  */
  91.